package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 问题类型表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-08
 */
@TableName("zj_trouble_type")
public class TroubleType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 问题类型
     */
    @TableField("trouble_type")
    private String troubleType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTroubleType() {
        return troubleType;
    }

    public void setTroubleType(String troubleType) {
        this.troubleType = troubleType;
    }

    @Override
    public String toString() {
        return "TroubleType{" +
        "id=" + id +
        ", troubleType=" + troubleType +
        "}";
    }
}
